package com.sas.repository;

import java.util.List; 

public interface GenericRepository<T> {

	public T store(T obj);

	public T find(int id);

	public void delete(T obj);

	public List<T> findAll();

	public List<T> findAllSortedBy(String property, boolean ascending);
	
	public int size();
	
	//public boolean exist(T obj);
}
